#include "updateworker.h"


void UpdateWorker::updateFeeds(const QList<RssFeed*> &feedRequests, int timeout) {
	int prog = 0;
	foreach (RssFeed *feed, feedRequests) {
		RssFactory::parseFeed(feed, timeout);
		emit progress(prog++, feed->getTitle());
	}
	emit updateFinished();
}

